package cn.cj.erp.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 销售|进货订单状态
 *
 * @author chenjian
 */
public enum SaleOrderEnum implements BaseEnum {
    NO("0", "未转销售"),
    PART("1", "部分转销售"),
    ALL("2", "全部转销售"),
    ;

    @JsonValue
    private final String value;
    private final String label;

    SaleOrderEnum(String value, String label) {
        this.value = value;
        this.label = label;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
